package com.example.test.factory.method;

import com.example.test.factory.simpleFactory.Pay;
import com.example.test.factory.method.factory.AliPayFactory;

/**
 * @author 晓果冻
 * @version 1.0
 * @date 2021/11/8 22:48
 */
public class Main {
    public static void main(String[] args) {
        PayFactory pay = new AliPayFactory();
        Pay aliPay = pay.getPay();
        aliPay.unifiedorder();
    }
}
